package com.buaa.aimall.goodsModule.Service;

import com.buaa.aimall.Utils.PageReturnResult;
import com.buaa.aimall.goodsModule.Entity.CouponEntity;
import com.buaa.aimall.goodsModule.Enum.GoodsTypeEnum;
import com.github.yulichang.base.MPJBaseService;

public interface CouponService extends MPJBaseService<CouponEntity> {
    PageReturnResult<CouponEntity> getPageByUser(String userId, int pageSize, int currentPage, GoodsTypeEnum usefor);

    long getCountByUser(String userId);
}
